package com.assignwork.dto;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.stereotype.Repository;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

@Data
@Repository
public class StatisticsSearchDTO {


    @ApiModelProperty(value = "id")
    private String id;
    @ApiModelProperty(value = "开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate startTime;
    @ApiModelProperty(value = "结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate endTime;
    @ApiModelProperty(value = "开始时间")
    private String startTime1;
    @ApiModelProperty(value = "结束时间")
    private String endTime1;
    @ApiModelProperty(value = "如何排序")
    private String howSort;
    @ApiModelProperty(value = "进出口")
    private String ieid;
    @ApiModelProperty(value = "内外贸")
    private String tradeid;
    @ApiModelProperty(value = "泊位")
    private String BERTHCOD;
    @ApiModelProperty(value = "货名代码")
    private String DDHLCOD;
    @ApiModelProperty(value = "包装")
    private String PKGKINDCOD;
    @ApiModelProperty("船名")
    private String shipNameZh;
    @ApiModelProperty("货名")
    private String HM;
    @ApiModelProperty("吞吐量货类")
    private String TTLHL;
    @ApiModelProperty("航次Id")
    private String voyageId;
    @ApiModelProperty("调度货名")
    private String reCargoNameKey;
    @ApiModelProperty("吞吐量")
    private BigDecimal visaTon;
    @DateTimeFormat(
            pattern = "yyyy-MM-dd HH:mm"
    )
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm"
    )
    @ApiModelProperty(name = "开始")
    private Date beginTime;
    @DateTimeFormat(
            pattern = "yyyy-MM-dd HH:mm"
    )
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm"
    )
    @ApiModelProperty(name = "完工时间")
    private Date finishTime;
    @DateTimeFormat(
            pattern = "yyyy-MM-dd HH:mm"
    )
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm"
    )
    @ApiModelProperty(name = "离港时间")
    private Date unberthingTime;
    @DateTimeFormat(
            pattern = "yyyy-MM-dd HH:mm"
    )
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm"
    )
    @ApiModelProperty(name = "离港时间")
    private Date statTime;
    @ApiModelProperty(name = "包装类型")
    private String packageBulkKeyList;

    @ApiModelProperty(name = "进出口")
    private String impExp;
    @ApiModelProperty(name = "货名")
    private String cargoType;

    @ApiModelProperty(name = "吞吐量货类id")
    private Long ttlhlId;
    @ApiModelProperty(name = "吞吐量货类名称")
    private String ttlhlName;
    @ApiModelProperty(name = "航次")
    private String voyage;

    @ApiModelProperty(value = "净吨")
    private BigDecimal netWeight;

    @ApiModelProperty(value = "载重吨")
    private BigDecimal deadWeightTon;

    @ApiModelProperty(value = "货名List")
    private List<String> cargoTypeList;

    @ApiModelProperty(value = "相隔天数")
    private BigDecimal timespace;
}
